<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
    	<?php echo $this->Html->charset(); ?>
    	<title><?php echo __('Jingbee - '.$title_for_layout); ?></title>
    	<?php
    		echo $this->Html->meta('icon');
    		echo $this->Html->css(array(
    									'login_frontend',
    									'styles',
    				));
    		echo $this->Html->script(array(
                                        'jquery-1.3.2.min',
                                        'run-slide',
                                        'jslider_news20',
    									'jslider_news20','jquery.livequery','runtime_base','runtime_call'
                                    ));
            echo $this->fetch('meta');
    		echo $this->fetch('css');
    		echo $this->fetch('script');
    	?>
    </head>
	<body>
        <div id="wrapper">
            <div id="body">
                <div id="list">
                    <?php echo $this->fetch('content'); ?>
                </div>
            </div>
            <div id="footer">
                <p>
                    <a href="#">Điều khoản sử dụng</a> | 
                    <a href="#">Về chúng tôi</a> | 
                    <a href="#">Hướng dẫn sử dụng</a>
                </p>
        		<strong>© Jingbee, 2012.</strong>
        	</div>
        </div>
        <div class="note-popup" style="display: none;">
		    <label>Thông báo</label>
		    <div class="content">
		    </div>
		</div>
		<?php
            if(!empty($userCurrent)) {
		?>
		<input type="hidden" class="uidCall" value="<?php echo $userCurrent['id']; ?>"/>
		<input type="hidden" class="groupType" value="<?php echo $userCurrent['group_id']; ?>"/>
		<?php } ?>
	</body>
</html>